package com.cash.app.ui.other.api

import com.cash.app.constant.AppConstant
import com.cash.app.net.BaseResponse
import com.cash.app.ui.other.model.FeedbackListResponse
import com.cash.app.ui.other.model.SubmitFeedbackRequest
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

interface FeedbackAPIService {
    @POST(AppConstant.API_GET_FEEDBACK_LIST)
    suspend fun getFeedbackList(): Response<BaseResponse<FeedbackListResponse>>

    @POST(AppConstant.API_SUBMIT_FEEDBACK)
    suspend fun submitFeedback(@Body request: SubmitFeedbackRequest): Response<BaseResponse<Unit>>
}